﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElementumForever.Interfaces;
using Microsoft.Xna.Framework;

namespace ElementumForever.Editer
{
    class EntityPropertyProxy : IEntityProperty
    {
        public EntityPropertyProxy()
        {
            Visiable = true;
        }

        public EntityPropertyProxy(BaseEntity entity)
        {
            Name = entity.Name;
            X = entity.X;
            Y = entity.Y;
            Rotation = entity.Rotation;
            Width = entity.Width;
            Height = entity.Height;
            OriginX = entity.OriginX;
            OriginY = entity.OriginY;
            ScaleX = entity.ScaleX;
            ScaleY = entity.ScaleY;
            LayerDepth = entity.LayerDepth;
            Alpha = entity.Alpha;
            Visiable = entity.Visiable;
            Color = entity.Color;
            ObjectClass = entity.ObjectClass;
        }

        public float Height
        {
            get;
            set;
        }

        public float LayerDepth
        {
            get;
            set;
        }

        public string Name
        {
            get;
            set;
        }

        public Enums.EObjectClass ObjectClass
        {
            get;
            set;
        }

        public float OriginX
        {
            get;
            set;
        }

        public float OriginY
        {
            get;
            set;
        }

        public float Rotation
        {
            get;
            set;
        }

        public float ScaleX
        {
            get;
            set;
        }

        public float ScaleY
        {
            get;
            set;
        }

        public float Width
        {
            get;
            set;
        }

        public float X
        {
            get;
            set;
        }

        public float Y
        {
            get;
            set;
        }

        public float Alpha
        {
            get;
            set;
        }

        public bool Visiable
        {
            get;
            set;
        }

        public Color Color
        {
            get;
            set;
        }
    }
}
